package cn.zjweu.domain;

import java.math.BigDecimal;

/*订单详情表*/
public class OrderDetails {
    /*订单ID*/
    private Integer orderId;
    /*菜品ID*/
    private Integer dishId;
    /*菜品名称*/
    private String dishName;
    /*菜品价格*/
    private BigDecimal dishPrice;
    /*所订数量*/
    private Integer quantity;

    public OrderDetails() {
    }

    public OrderDetails(Integer orderId, Integer dishId, String dishName, BigDecimal dishPrice, Integer quantity) {
        this.orderId = orderId;
        this.dishId = dishId;
        this.dishName = dishName;
        this.dishPrice = dishPrice;
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "OrderDetails{" +
                "orderId=" + orderId +
                ", dishId=" + dishId +
                ", dishName='" + dishName + '\'' +
                ", dishPrice=" + dishPrice +
                ", quantity=" + quantity +
                '}';
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public BigDecimal getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(BigDecimal dishPrice) {
        this.dishPrice = dishPrice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
}
